/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.dinner.service.type;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.dinner.entity.type.ResDinnerType;
import com.thinkgem.jeesite.modules.dinner.dao.type.ResDinnerTypeDao;

/**
 * 餐别管理Service
 * @author dai
 * @version 2018-11-18
 */
@Service
@Transactional(readOnly = true)
public class ResDinnerTypeService extends CrudService<ResDinnerTypeDao, ResDinnerType> {

	public ResDinnerType get(String id) {
		return super.get(id);
	}
	
	public List<ResDinnerType> findList(ResDinnerType resDinnerType) {
		return super.findList(resDinnerType);
	}
	
	public Page<ResDinnerType> findPage(Page<ResDinnerType> page, ResDinnerType resDinnerType) {
		return super.findPage(page, resDinnerType);
	}
	
	@Transactional(readOnly = false)
	public void save(ResDinnerType resDinnerType) {
		super.save(resDinnerType);
	}
	
	@Transactional(readOnly = false)
	public void delete(ResDinnerType resDinnerType) {
		super.delete(resDinnerType);
	}
	
}